package com.medium.house.service;

import com.medium.house.entity.HousePicture;
import com.medium.house.response.HousePicsDto;

import java.util.List;

public interface HousePictureService
{
    int DESC = 0;
    int ASC = 1;

    int add(HousePicture dto);

    int delete(long id);

    int update(HousePicture dto);

    HousePicture get(long id);

    List<HousePicture> getByPage(
            int start,
            int limit,
            int orderby,
            int order);

    List<Long> getIdsByPage(
            int start,
            int limit,
            int orderby,
            int order);

    long count();

    List<HousePicsDto> getHousePictureByHouserID(Long houseID);

}